import numscroll from './numscroll'

const install = function(Vue) {
  Vue.directive('numscoll', numscroll)
}

if (window.Vue) {
  window['numscoll'] = numscroll
  Vue.use(install); // eslint-disable-line
}

numscroll.install = install
export default numscroll
